local sk__wushen = fk.CreateSkill {

  name = "sk__wushen",

  tags = { Skill.Compulsory, },

}



sk__wushen:addEffect(fk.DamageCaused, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target and target == player and player:hasSkill(sk__wushen.name) and data.to ~= player and
      not table.contains({"wei", "shu", "wu", "qun"}, Fk.generals[data.to.general].kingdom)
  end,
  on_use = function(self, event, target, player, data)
    data.damage = data.damage + 1
  end,
})

sk__wushen:addEffect("filter", {
  name = "#sk__wushen_filter",
  mute = true,
  --sk__wushen,
  card_filter = function(self, card, player, isJudgeEvent)
    return player:hasSkill(sk__wushen.name) and (card.trueName == "slash" or card.trueName == "peach")
  end,
  view_as = function(self, player,to_select)
    return Fk:cloneCard("duel", to_select.suit, to_select.number)
  end,
})

return sk__wushen